package com.xixisleep.yebackenduserservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@MapperScan("com.xixisleep.yebackenduserservice.mapper")
@SpringBootApplication
@ComponentScan("com.xixisleep")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.xixisleep.yebackendserviceclient.service")
public class YeBackendUserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(YeBackendUserServiceApplication.class, args);
    }

}
